home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
lists
/
gem
/
l_0399
/
104
< prev
next >
Wrap
Internet Message Format
|
1994-08-27
|
3KB
From: mforget@elfhaven.ersys.edmonton.ab.ca (Michel Forget)
Subject: Re: MAUS
Date: Sun, 22 May 1994 01:42:14 -0600
Mime-Version: 1.0
Precedence: bulk
In <199405312035.AA12563@world.std.com>, you write:
[> True, authors of small programs would find it immensley awkward to try and fit
[> such an option in without dramatically increasing the program size.
To some degree, it would be annoying for the programmer. This is the
kind of feature that users love, though. It does make the overall
program larger, yes, but not by all that much. When I did this for
MasterBrowse (my first attempt) it only added about 4K to the program.
Now that I understand the theory, I could easily do it in 1K (by
keeping the shortcuts in a separate file and preserving the menu
strings in the resource file instead of just overwriting them).
[> Maybe installing all the shortcuts as a cookie or something, and having a
[> program look them up when the program starts is a possible solution. Then
[> the configuration program could be as large as it needs (an approach adopted
[> by LED Panel among others). Changing shortcuts is not something that needs to
[> be done so often it warrants being available on the spot within programs....
This seems like more trouble than it is worth; a better solution might be
to have the programmer create a data file that the configuration file
could read and change. That way no cookie work is needed at all, which
is good for "C" compilers that do not have a cookie library.
[> Maybe the configuration program should be expandable, so it can grow to
[> include program-specific shortcuts (e.g. DSP Options in WinRec - unlikely to
[> be used in many other programs...), although this may result in a very large
[> cookie to load up at boot time!
If the format of the data file were like this:
Menu, Item, Scancode, Modifier
then the configuration program could build a set of popup menus and
allow the user to change the keyboard definitions in a way much like
CoNnect does. The advantage of a separate configuration program that
would work with all programs is that it is standard. The user always
knows what to expect and how to change keyboard definitions.
--
() ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ () ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ()
() Michel Forget / Electric Storm Software () My cat stole my ()
() mforget@elfhaven.ersys.edmonton.ab.ca () opinions, and pawned ()
() ess@tibalt.supernet.ab.ca () them off for milk. ()
() ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ () ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ()